﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Personnel_Action_Print.aspx.cs"
    EnableViewState="true" Inherits="Trig_AMJ_HR_Forms.Layouts.Trig_AMJ_HR_Forms.Personnel_Action_Print"
    DynamicMasterPageFile="~masterurl/default.master" %>


<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <link rel="Stylesheet" type="text/css" href="/_layouts/1033/STYLES/Themable/FORMS.CSS" />
    <link rel="Stylesheet" type="text/css" href="/Style Library/Al Majed/CSS/Trig_HR_Print.css" />
    <script language="javascript" type="text/javascript" src="/_layouts/Scripts/validation.js"></script>
    <style type="text/css">
        .ms-validations
        {
            color: Red;
        }
        
        #s4-leftpanel
        {
            display: none;
        }
        .s4-ca
        {
            margin-left: 0px;
        }
        .ms-validations
        {
            color: Red;
        }
        .style2
        {
            width: 373px;
        }
        .style3
        {
            width: 366px;
        }
        body, td, th
        {
            font-size: 8pt;
            font-family: Verdana, Arial, sans-serif;
        }
    </style>
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <asp:Panel ID="pnlFullForm" runat="server" CssClass="pnlAMFform">
        <table cellpadding="0" cellspacing="0" class="tbl-main" width="800px">
            <tr>
                <td colspan="4" class="formtitle">
                    Personnel Action Form
                </td>
            </tr>
            <tr>
                <td>
                    Reference No :
                </td>
                <td>
                    <asp:Label ID="lblActReqNo" runat="server"></asp:Label>
                </td>
                <td>
                    Date of filling :
                </td>
                <td>
                    <asp:Label ID="dtReqDate" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="tdHeadingTextLeftAlign" colspan="4">
                    Type of Action (Please Specify)
                </td>
            </tr>
            <tr>
                <td colspan="1">
                    User :
                </td>
                <td colspan="1">
                    <asp:Label ID="pplActUsers" runat="server"></asp:Label>
                    <SharePoint:PeopleEditor runat="server" ID="pplActUser" MultiSelect="false" Width="250px"
                        Visible="false" />
                </td>
                <td colspan="1">
                    Name :
                </td>
                <td colspan="1">
                    <asp:Label runat="server" ID="txtName" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="1">
                    Type of Action (Please Specify)
                </td>
                <td colspan="1">
                    <asp:Label runat="server" ID="ddlActionType" Width="250px"></asp:Label>
                </td>
                <td colspan="2">
                    <asp:TextBox runat="server" ID="txtOthers" Width="400px" Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdHeadingTextLeftAlign" colspan="4">
                    Employee Information
                </td>
            </tr>
            <tr>
                <td>
                    Natinality :
                </td>
                <td>
                    <asp:Label runat="server" ID="ddlNationality" Width="250px">
                    </asp:Label>
                </td>
                <td>
                    Employee No :
                </td>
                <td>
                    <asp:Label runat="server" ID="txtEmployeeNo" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Date of Birth :
                </td>
                <td>
                    <asp:Label ID="dtDOB" runat="server"></asp:Label>
                </td>
                <td>
                    Marital Status :
                </td>
                <td>
                    <asp:Label ID="ddlMaritalStatus" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Father's Name :
                </td>
                <td>
                    <asp:Label runat="server" ID="txtFathersName" Width="250px"></asp:Label>
                </td>
                <td>
                    No. of Dependants :
                </td>
                <td>
                    <asp:Label runat="server" ID="txtNoDependant" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Address :
                </td>
                <td rowspan="3">
                    <asp:Label runat="server" ID="txtAddress" TextMode="MultiLine" Width="250px" Height="75px"></asp:Label>
                </td>
                <td>
                    Telephone No :
                </td>
                <td>
                    <asp:Label runat="server" ID="txtTelNo" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Passport No :
                </td>
                <td>
                    <asp:Label runat="server" ID="txtPassportNo" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    Validity of Passport :
                </td>
                <td>
                    <asp:Label runat="server" ID="dtPassValidity" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Date of Employment :
                </td>
                <td>
                    <asp:Label runat="server" ID="dtDOE" Width="250px"></asp:Label>
                </td>
                <td>
                    Qatar ID No :
                </td>
                <td>
                    <asp:Label runat="server" ID="txtQadarID" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr runat="server" id="tdDup">
                <td>
                    Validity of Resident Permit :
                </td>
                <td>
                    <asp:Label runat="server" ID="dtValofResPermit" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="tdHeadingTextLeftAlign" colspan="4">
                    Status / Classification
                </td>
            </tr>
            <tr>
                <td>
                    Designation (Previous)
                </td>
                <td>
                    <asp:Label runat="server" ID="ddlDesigPrev" Width="250px"></asp:Label>
                </td>
                <td>
                    Designation (Present)
                </td>
                <td>
                    <asp:Label runat="server" ID="ddlDesigPres" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr>
                <asp:Panel runat="server" ID="pnlDiv">
                    <td>
                        Division (Previous)
                    </td>
                    <td>
                        <asp:Label runat="server" ID="ddlDivPrev" Width="250px"></asp:Label>
                    </td>
                </asp:Panel>
                <td>
                    Division (Present)
                </td>
                <td>
                    <asp:Label runat="server" ID="ddlDivPres" Width="250px"></asp:Label>
                </td>
            </tr>
            <tr runat="server" id="tr1">
                <td colspan="4">
                    <asp:UpdatePanel ID="UpdatePanel6" runat="server">
                        <ContentTemplate>
                            <asp:GridView ID="gvSalaryInfo" runat="server" AutoGenerateColumns="False" CssClass="Grid-default"
                                AlternatingRowStyle-CssClass="alt-tr" ShowFooter="True" OnRowDataBound="GridView1_RowDataBound">
                                <Columns>
                                    <asp:TemplateField HeaderText="S. No.">
                                        <ItemTemplate>
                                            <%#Container.DataItemIndex+1 %>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Status / Classification">
                                        <ItemTemplate>
                                            <asp:Label ID="txtSpecification" runat="server" Width="250px" Text='<%# Eval("Specification") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Previous" ItemStyle-HorizontalAlign="Center">
                                        <ItemTemplate>
                                            <asp:Label ID="txtPrevious" runat="server" Width="250px" Text='<%# Eval("Previous") %>'></asp:Label>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label ID="lblPreviousTtl" runat="server" Visible="true"></asp:Label>
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Present" ItemStyle-HorizontalAlign="Center">
                                        <ItemTemplate>
                                            <asp:Label ID="txtPresent" runat="server" Width="250px" Text='<%# Eval("Present") %>'></asp:Label>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label ID="lblPresentTtl" runat="server" Visible="true"></asp:Label>
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td colspan="4" align="center" style="border-right-color: #121e66; border-left-color: #121e66;
                    border-bottom-color: #121e66; border-right-width: 1px; border-bottom-width: 1px;
                    border-left-width: 1px; border-right-style: inset; border-left-style: inset;
                    border-bottom-style: inset; padding: 5px;">
                    <div>
                        <asp:GridView runat="server" ID="gvApprovers" AutoGenerateColumns="true" Width="100%"
                            GridLines="None" CellPadding="5" CellSpacing="5" HeaderStyle-Font-Bold="true"
                            RowStyle-Font-Bold="true">
                        </asp:GridView>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="tblButtons" style="padding-top: 5px;">
                    <input type="button" value="Print" id="btnPrint" title="Print" onclick="window.print()"
                        class="ms-ButtonHeightWidth" />
                    <input id="btnCancel" class="ms-ButtonHeightWidth" type="button" value="Close" accesskey="C"
                        onclick="SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.cancel, 'Cancel clicked'); return false;"
                        runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlAccessDenied" runat="server" Visible="false" CssClass="pnlAMFform">
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="text-align: center;">
                    <asp:Label ID="lblAccessDeniedMsg" runat="server" Text="" Font-Size="Medium" ForeColor="Red"
                        Font-Bold="True" Visible="false"></asp:Label>
                    <asp:Label ID="lblUserNotvailable" runat="server" Text="" Font-Size="Medium" ForeColor="Red"
                        Font-Bold="True" Visible="false"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="text-align: center; padding-top: 10px;">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/_layouts/1033/IMAGES/IRForm/AccessDeniedImage.png" />
                </td>
            </tr>
            <tr>
                <td style="text-align: center; padding-top: 10px">
                    <input id="butonclose" class="ms-ButtonHeightWidth" type="button" onclick="SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.cancel, 'Cancel clicked'); return false;"
                        value="Close" accesskey="C" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Personnel Action Form
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    Personnel Action Form
</asp:Content>
